package com.qst.beans;

public class OrderItem {
    private Integer uid;
    private Integer itemid;
    private Integer count;
    private double subtotal;//小计
    private Product product;
    private Integer pid;
    private Integer oid;//订单编号
    private String evaluation;
    private String huifu;
    private Integer gwpj;
    private Integer wlpj;
    private Integer kfpj;
    private double avgScore;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getItemid() {
        return itemid;
    }

    public void setItemid(Integer itemId) {
        this.itemid = itemId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public double getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(double subtotal) {
        this.subtotal = subtotal;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getEvaluation() {
        return evaluation;
    }

    public void setEvaluation(String evaluation) {
        this.evaluation = evaluation;
    }

    public String getHuifu() {
        return huifu;
    }

    public void setHuifu(String huifu) {
        this.huifu = huifu;
    }

    public Integer getGwpj() {
        return gwpj;
    }

    public void setGwpj(Integer gwpj) {
        this.gwpj = gwpj;
    }

    public Integer getWlpj() {
        return wlpj;
    }

    public void setWlpj(Integer wlpj) {
        this.wlpj = wlpj;
    }

    public Integer getKfpj() {
        return kfpj;
    }

    public void setKfpj(Integer kfpj) {
        this.kfpj = kfpj;
    }

    public double getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(double avgScore) {
        this.avgScore = avgScore;
    }

    @Override
    public String toString() {
        return "OrderItem{" +
                "uid=" + uid +
                ", itemid=" + itemid +
                ", count=" + count +
                ", subtotal=" + subtotal +
                ", product=" + product +
                ", pid=" + pid +
                ", oid=" + oid +
                ", evaluation='" + evaluation + '\'' +
                ", huifu='" + huifu + '\'' +
                ", gwpj=" + gwpj +
                ", wlpj=" + wlpj +
                ", kfpj=" + kfpj +
                ", avgScore=" + avgScore +
                '}';
    }
}
